import { Module } from '@nestjs/common';
import { ScriptListService } from './script-list.service';
import { ScriptListController } from './script-list.controller';
import { ScriptList } from './entities/script-list.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { GroupToScript } from './entities/grouptoscript.entity';
import { User } from 'src/user/entities/user.entity';
import { usertogroup } from 'src/group/entities/usertogroup.entity';
import { SceneListModule } from 'src/scene-list/scene-list.module';
import { PathListModule } from 'src/path-list/path-list.module';
import { ScenePathRelationalModule } from 'src/scene_path_relational/scene_path_relational.module';
import { SceneFileRelationalModule } from 'src/scene_file_relational/scene_file_relational.module';
import { PathItemRelationalModule } from 'src/path-item-relational/path-item-relational.module';
import { AudioModule } from 'src/audio/audio.module';
import { TextModule } from 'src/text/text.module';
import { VideoModule } from 'src/video/video.module';
import { PictureModule } from 'src/picture/picture.module';
import { CameraalongModule } from 'src/cameraalong/cameraalong.module';
import { DynamiclayerModule } from 'src/dynamiclayer/dynamiclayer.module';
import { CameraRotateModule } from 'src/camera-rotate/camera-rotate.module';
import { GeojsonModule } from 'src/geojson/geojson.module';
import { ImagerasterModule } from 'src/imageraster/imageraster.module';
import { MapEaseModule } from 'src/map-ease/map-ease.module';
import { MarkerModule } from 'src/marker/marker.module';
import { SceneBondScriptModule } from 'src/scene_bond_script/scene_bond_script.module';

@Module({
  imports:[
    TypeOrmModule.forFeature([ScriptList]),
    TypeOrmModule.forFeature([GroupToScript]),
    TypeOrmModule.forFeature([User]),
    TypeOrmModule.forFeature([usertogroup]),
    SceneListModule,
    PathListModule,
    ScenePathRelationalModule,
    SceneFileRelationalModule,
    PathItemRelationalModule,
    AudioModule,
    TextModule,
    VideoModule,
    PictureModule,
    CameraalongModule,
    DynamiclayerModule,
    CameraRotateModule,
    GeojsonModule,
    ImagerasterModule,
    MapEaseModule,
    MarkerModule,
    SceneBondScriptModule
  ],
  controllers: [ScriptListController],
  providers: [ScriptListService],
  exports: [ScriptListService]
})
export class ScriptListModule {}
